Skip to content

Cache community media in-repo (reachability + first-load reliability) - #8

Merged
ob1-s merged 1 commit into
mainfrom
chore/remote-media-cache
Aug 31, 2026
Merged

Cache community media in-repo (reachability + first-load reliability)#8
ob1-s merged 1 commit into
mainfrom
chore/remote-media-cache

Conversation

@ob1-s

@ob1-s ob1-s commented Aug 31, 2026

Copy link
Copy Markdown
Owner

Problem

Browser-fetched media still pointed at hosts unreachable or unstable from some regions: raw.githubusercontent.com (courier video+gif) and huggingface.co (4 community clips, served via signed redirects that stall first load).

Fix

Cache all 6 community artifacts (~36MB) in public/media/remote-cache/ and point descriptors at local paths. Every browser-fetched media URL is now served from our Cloudflare edge or pollen-robotics.com — no third-party media hosts in the media layer.

  • Provenance + upstream links documented in public/media/remote-cache/README.md
  • Descriptor sources sections keep canonical upstream URLs (attribution unchanged)
  • ONNX download instructions on detail pages still use raw GitHub — acceptable (copy-paste CLI usage, not page media); revisit post-launch

Test plan

  • All 6 files verified real media (file: 5x ISO Media MP4, 1x GIF 89a 640x360)
  • pnpm compile (18 behaviors), pnpm validate, pnpm build
  • Static HTML: remote-cache refs present, 0 HF media, 0 raw-GH media in page media

raw.githubusercontent.com (courier) and huggingface.co (RemiFabre x3, HannesVonEssen) are unreachable or unstable from some regions, and HF media resolves through signed redirects that stall first paint. Cache all 6 community artifacts (~36MB) under public/media/remote-cache/ so every browser-fetched media URL is served from our Cloudflare edge or pollen-robotics.com. Provenance and upstream links documented in public/media/remote-cache/README.md; descriptors now use local paths while sources sections keep canonical upstream URLs.
@ob1-s
ob1-s merged commit 9892cf4 into main Aug 31, 2026
1 check passed
@ob1-s
ob1-s deleted the chore/remote-media-cache branch August 31, 2026 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant